package com.leil.movies.project.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.leil.movies.project.entity.Movie;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 电影表 Mapper 接口
 * </p>
 *
 * @author Leil
 * @since 2020-02-20
 */
public interface MovieMapper extends BaseMapper<Movie> {

    List<Movie> selectAll(@Param(Constants.WRAPPER) Wrapper<Movie> wrapper);

}
